using System;
using System.Collections.Generic;
using System.Text;

namespace SerialCommand {
    public class DeviceCommand {
        private Devices.Schema.Command _cmd;
        public DeviceCommand(Devices.Schema.Command cmd) {
            _cmd = cmd;
        }

        public Devices.Schema.Command BaseCommand {
            get { return _cmd; }
            set { _cmd = value; }
        }

        public override string ToString() {
            return String.Format("{0} - {1}", _cmd.command, _cmd.description); 
        }
      }
}
